<%
''################ AVConference 1.2 Configuration file ####################
''######################## MANDATORY FIELDS #########################
''//connectionstring:String
''//description: the rtmp connection string to the avconference application on your Flash Media Server server
''//values: 'rtmp://localhost/avconference12/_definst_', 'rtmp://myfmsserver.com/avconference12/room17/', etc...
Dim connectionstring
connectionstring=""

''######################### OPTIONAL FIELDS (GENERAL) ###############
''//fontsize:Number
''//description: the size of the font used in teh text chat window
''//values: 10,11,12,etc...
Dim fontsize
fontsize=11

''//applyLangaugeFilter:String
''//description:activates or deactivates bad language filter
''//values: 0,1
''//default: 1
Dim applyLangaugeFilter
applyLangaugeFilter=1

''//autoStartMyCamera:Number
''//description: if set to 1, when a user has a webcamera, immediatley after connecting his camera will start broadcasting, if set to 0, the user will have to press the "Start my camera" button to start it
''//values 0,1 
''//default :0
Dim autoStartMyCamera
autoStartMyCamera=0

''//usnminchars
''//description: the minimum numbers of characters a username must have, if you provide 0 or a negative value it will default to 1
''//values: 3,4,5.. any number
''//defalt: 3
Dim usnminchars
usnminchars=3

''//username:String
''//description: the default username to be used in the Login NICK log in box in the flash user interface
''//values:only words with characters in this range: 0..9,a..z,A..Z,@,.
''//default:''
Dim username
username=""

''//changeuser:Boolean
''//description: allows or denies a user to edit his nickname in the NICK log in box in the flash user interface
''//values: 0, 1
''//default: 1
Dim changeuser
changeuser=1

''//gender:String
''//description: the default gender to be used in the gender radio buttons in the flash user interface
''//values: 'male', 'female', 'couple'
''//default selected: 'male'
Dim gender
gender=""

''//changegender:Boolean
''//description: allows or denies a user to modify his gender in the NICK log in box in the flash user interface
''//values: 0,1
''//default: 1
Dim changegender
changegender=1

''//privatemessages:Number
''//decription: enable/disable the PM function
''//values: 0,1
''//default: 1 (enabled)
Dim privatemessages
privatemessages=1

''//jlmessages:Number
''//description: set to 0 if you do not want all those 'joined', 'left' messages to show up in the text chat area
''//values: 0,1
''//default: 1
Dim jlmessages
jlmessages=1

''//autoStartCameras
''//description: if set to 1 as soon as a person starts his webcam, all the other persons logged in will start viewing it, also if set to 1 , when you log in all the avaialable cameras will start playing. Set to 1 for coneference scenarios
''//values: 0,1 
''//default:1 
Dim autoStartCameras
autoStartCameras=1

''//bandwidthurl
''//description: relative path to the .xml file containing video settings. Use it to give some users the ability to send higher quality video than others.
''//default: "audio_video_quality_profiles/256k_high_motion_low_picture_quality.xml"
Dim bandwidthurl
bandwidthurl="audio_video_quality_profiles/256k_high_motion_low_picture_quality.xml"

''//playSoundOnmessage
''//description: set to 1 so that a sound will play every time a text message comes in
''//values: 0,1
''//default:1
Dim playSoundOnmessage
playSoundOnmessage=1

''//showTimeStamps
''//description: if set to 1 in the text chat window the time at which each text message camed in will be displayed
''//values: 0,1
''//default:1
Dim showTimeStamps
showTimeStamps=1

''//maxUploadFileSize
''//description: the maximum size (in bytes) of the files that can be uploaded to the Shared Folder
''//values: numbers, bytes
''//default:524288 (=0.5 MB)
Dim maxUploadFileSize
maxUploadFileSize=524288

''//fileSharingEnabled
''//description: if set to 0 the "Shared Files" window will not show up in the chat interface
''//values: 0,1
''//default:1
Dim fileSharingEnabled
fileSharingEnabled=1

''//maxcams
''//description: the max number of cams a person can watch
''//values: 0,1,2,3,etc...
''//default:4
Dim maxcams
maxcams=4

''//allowSendAudioVideo
''//description: set to 0 if the user should not eb able to send video and audio
''//values: 0,1
''//default:1
Dim allowSendAudioVideo
allowSendAudioVideo=1

''//coupleGenderEnabled
''//description: set to 0 if you want to hide the couple gender option
''//values:1,0
''//default:1
Dim coupleGenderEnabled
coupleGenderEnabled=1

''//maxIncomingVideoSpeed:Number
''//description: 
''//values: -1
''//default:-1
Dim maxIncomingVideoSpeed
maxIncomingVideoSpeed=-1

''//freeVideoTime:Number
''//description: the ammount of time (in seconds) that a "free" user can view other videos in 1 day. Each "day" starts at midnight(00:00:00) and ends at 23:59:59 the same day, based on the clock of the users computer. Set to -1 to disable it.
''//values:seconds
''//default:6000
Dim freeVideoTime
freeVideoTime=6000

''//secondsBetweenBuzzez:Number
''//description: after using the [BUZZ] button , it il be disabled for a few seconds, use this variable to set the ammount of seconds
''//values:0,1,10,etc...
''//default:10
Dim secondsBetweenBuzzez
secondsBetweenBuzzez=10

''//backgroundImageUrl
''//description: the URl to a jpeg, gif, png image or a swf animation, the fiel needs to be on the same exact (sub)domain as the swf file
''//values: image.jpg, animation.swf, transparency.png
''//default: "pattern_061.gif"
Dim backgroundImageUrl
backgroundImageUrl="pattern_061.gif"

''//backgroundImageAlpha
''//backgroundImageAlpha: the opacity level of the background image, set to 100 for a non transparent background image, set to 0 for a fully transparent background image
''//values:0 to 100
''//default:100
Dim backgroundImageAlpha
backgroundImageAlpha=100

''//backgroundImageScale
''//description: shoudl the background image specified above scale to the width and height of the .swf file when the swf file is loaded in the browser. A good source for tile images is http://squidfingers.com/patterns
''//values:none, tile,fit
''//default:tile
Dim backgroundImageScale
backgroundImageScale="tile"

''//highlightEmoteIcons:Number
''//description: should emoteicons like text be bolded by default or left alone
''//values:0,1
''//default:1
Dim highlightEmoteIcons
highlightEmoteIcons=1

''//tooltipsEnabled
''//description: set to 0 if you want to disable the tooltips
''//values:0,1
''//default:1
Dim tooltipsEnabled
tooltipsEnabled=1

''//adminIsVisible:Number
''//description: when the admin will log in will his visible or invisible radio button be checked?
''//values:1 so that the 'invisible' checkbox is selected,0 so that the 'visible' checkbox is selected
''//default:0 //visible
Dim adminIsVisible
adminIsVisible=0

''//toggleVisibilityEnabled:Number
''//description: is the admin allowed to change its visibility settings set above
''//values:0,1
''//default:1
Dim toggleVisibilityEnabled
toggleVisibilityEnabled=1

''//sortorder:String
''//description: teh way the list of users is sorted, set to camsfirst so that users with cams/microphones activated are placed at the top of the list
''//values:alphabetical,camsfirst
''//default:alphabetical
Dim sortorder
sortorder="alphabetical"

''//disableGenderSelection:Number
''//description: if set to 1, gender options from the login screen are hidden and everyone is considered a male, has no effect on admins
''//values:1,0
''//default:0
Dim disableGenderSelection
disableGenderSelection=0

''//adminCanBan
''//description: can the admin ban people?! 
''//values: 0 for no , 1 for yes
''//default:1
Dim adminCanBan
adminCanBan=1

''//adminCanKick
''//description: can the admin kick people?! 
''//values: 0 for no , 1 for yes
''//default:1
Dim adminCanKick
adminCanKick=1

''//adminCanViewPrivatePM
''//description: can the admin view private PM's exchanged between people?! 
''//values: 0 for no , 1 for yes
''//default:1
Dim adminCanViewPrivatePM
adminCanViewPrivatePM=1

''//buzzButtonEnabled:Number
''//description : is the BUZZ button enabled in the flash interface?!
''//values :0,1
''//default: 1
Dim buzzButtonEnabled
buzzButtonEnabled=1

''//allowLinksInTextChat
''//description: shoul you turn this feature off, links will be censured from the text chat
''//values: 0 for no , 1 for yes
''//default:1
Dim allowLinksInTextChat
allowLinksInTextChat=1

''//textChatCharLimit
''//description: the number a characters the input text box for the text chat (im) and public supports, use for limiting spamming and repeated messages, the admin gets twice as much
''//values: numbers
''//default:200
Dim textChatCharLimit
textChatCharLimit=200

''//showLoginError
''//description: if set to 1, the chat interface will display a "need to be logged in message" and will not let the user connect, good for when integrating
''//value:0,1
''//default:0
Dim showLoginError
showLoginError=0

''//showIps
''//description: if set to 1, the chat interface will display the ips of the clients in the userslist
''//value:0,1
''//default:0
Dim showIps
showIps=0

''//floatingMode
''//floatingMode: if set to 1 the avconference area will be split into 2 vertically, the text+userslist+filesharing panels will occupy the bottom 50%, the webcams will be centered vertically in the top 50%
''//value:0,1
''//default: 0
Dim floatingMode
floatingMode = 0

''//videoChatOnly
''//description: if set to 1 the text chat, users list and file sharing panel are hidden
''//value:0,1
''//default: 0
Dim videoChatOnly
videoChatOnly=0

''languageCode:String
''description: used to specify the language to be used in AVConference. 
''description: If you change it to "fr" for example you need to have a "fr" folder and 2 xml files in that folder: "fr/index_fr.xml" and "fr/admin_fr.xml", AVConference will load these xml files and use them.
''default: "en"
Dim languageCode
languageCode="en"

''//windowsColor:String
''//description: the hex color of the windows inside AVConference
''//default: "0x171717"
Dim windowsColor
windowsColor = "0x171717"

''//sendColor:String
''//description: the hex color of the Send Text Chat Button inside AVConference
''//default: "0xff0000"
Dim sendColor
sendColor = "0xff0000"


''userCanDragWindows
''description: weather or not the windows inside AVConference are draggable
''values: 1 for true, 0 for false
''default: 1
Dim userCanDragWindows
userCanDragWindows =1

''autoCloseCams:Number
''description: if set to 1, when a user I'm watching leaves the room, his webcam will be removed from the stage instead of saying "this user has left the room" or "this user has stopped broadcasting"
''values 0,1 
''default :0
Dim autoCloseCams
autoCloseCams=0

''disableCameraWindowResize:Number
''description: if set to 1 the user will no longer be able to resize the camera window.
''values 0,1 
''default :0
Dim disableCameraWindowResize
disableCameraWindowResize=0

''windowsFontColor:String
''description: the hex color of the text of the windows inside AVConference
''default: "0xcccccc"
Dim windowsFontColor
windowsFontColor=="0xcccccc"

''hideUsersList:String
''description: this setting controls whether or not the users list is hidden or not.
''values 1 for hidden, 0 to show it.
''default: 0
Dim hideUsersList
hideUsersList=0

''errorTextColor:String
''description: the hex color of the errors that are shown by AVConference.
''default: "0xffffff"
Dim errorTextColor
errorTextColor="0xffffff"

''loginTextColor:String
''description: the hex color of the texts shown at login;
''default: "0xffffff"
Dim loginTextColor
loginTextColor=="0xffffff"


''##################### DO NOT EDIT BELOW ############################
Response.write("&connectionstring=")
Response.write(connectionstring)
Response.write("&fontsize=")
Response.write(fontsize)
Response.write("&applyLangaugeFilter=")
Response.write(applyLangaugeFilter)
Response.write("&autoStartMyCamera=")
Response.write(autoStartMyCamera)
Response.write("&usnminchars=") 
Response.write(usnminchars)
Response.write("&username=")
Response.write(username)
Response.write("&changeuser=")
Response.write(changeuser)
Response.write("&gender=")
Response.write(gender)
Response.write("&changegender=")
Response.write(changegender)
Response.write("&privatemessages=") 
Response.write(privatemessages)
Response.write("&jlmessages=") 
Response.write(jlmessages)
Response.write("&autoStartCameras=") 
Response.write(autoStartCameras)
Response.write("&bandwidthurl=") 
Response.write(bandwidthurl)
Response.write("&playSoundOnmessage=") 
Response.write(playSoundOnmessage)
Response.write("&showTimeStamps=") 
Response.write(showTimeStamps)
Response.write("&maxUploadFileSize=") 
Response.write(maxUploadFileSize)
Response.write("&fileSharingEnabled=") 
Response.write(fileSharingEnabled)
Response.write("&maxcams=") 
Response.write(maxcams)
Response.write("&allowSendAudioVideo=") 
Response.write(allowSendAudioVideo)
Response.write("&coupleGenderEnabled=") 
Response.write(coupleGenderEnabled)
Response.write("&maxIncomingVideoSpeed=") 
Response.write(maxIncomingVideoSpeed)
Response.write("&freeVideoTime=") 
Response.write(freeVideoTime)
Response.write("&secondsBetweenBuzzez=") 
Response.write(secondsBetweenBuzzez)
Response.write("&backgroundImageUrl=") 
Response.write(backgroundImageUrl)
Response.write("&backgroundImageAlpha=") 
Response.write(backgroundImageAlpha)
Response.write("&backgroundImageScale=") 
Response.write(backgroundImageScale)
Response.write("&highlightEmoteIcons=") 
Response.write(highlightEmoteIcons)
Response.write("&tooltipsEnabled=") 
Response.write(tooltipsEnabled)
Response.write("&adminIsVisible=") 
Response.write(adminIsVisible)
Response.write("&toggleVisibilityEnabled=") 
Response.write(toggleVisibilityEnabled)
Response.write("&disableGenderSelection=") 
Response.write(disableGenderSelection)
Response.write("&sortorder=") 
Response.write(sortorder)
Response.write("&adminCanBan=") 
Response.write(adminCanBan)
Response.write("&adminCanKick=") 
Response.write(adminCanKick)
Response.write("&adminCanViewPrivatePM=") 
Response.write(adminCanViewPrivatePM)
Response.write("&buzzButtonEnabled=") 
Response.write(buzzButtonEnabled)
Response.write("&allowLinksInTextChat=") 
Response.write(allowLinksInTextChat)
Response.write("&textChatCharLimit=") 
Response.write(textChatCharLimit)
Response.write("&showLoginError=") 
Response.write(showLoginError)
Response.write("&showIps=") 
Response.write(showIps)
Response.write("&floatingMode=") 
Response.write(floatingMode)
Response.write("&videoChatOnly=")
Response.write(videoChatOnly)
Response.write("&languageCode=")
Response.write(languageCode)
Response.write("&windowsColor=")
Response.write(windowsColor)
Response.write("&sendColor=")
Response.write(sendColor)
Response.write("&userCanDragWindows=")
Response.write(userCanDragWindows)
Response.write("&autoCloseCams=")
Response.write(autoCloseCams)
Response.write("&disableCameraWindowResize=")
Response.write(disableCameraWindowResize)
Response.write("&windowsFontColor=")
Response.write(windowsFontColor)
Response.write("&hideUsersList=")
Response.write(hideUsersList)
Response.write("&errorTextColor=")
Response.write(errorTextColor)
Response.write("&loginTextColor=")
Response.write(loginTextColor)



%>